//
//  LikeViewController.swift
//  KaMengApplication
//
//  Created by DUONIU_MAC on 2018/9/29.
//  Copyright © 2018年 DUONIU_MAC. All rights reserved.
//

import UIKit

class LikeViewController: KMViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
        addSubView()
    }
    
    //MARK: 添加子视图
    fileprivate func addSubView() {
        
        let likeView = LikeView.init(frame: self.view.bounds)
        likeView.likeDelegate = self
        self.view.addSubview(likeView)
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        
        
    }

}

extension LikeViewController : LikeViewDelegate {
    
    //MARK: 选择操作
    func selectOperate(tag: Int) {
        
        self.dismiss(animated: false, completion: nil)
    }
}
